# $Id: PKGBUILD 88623 2013-04-20 17:34:23Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Alexander Rødseth <rodseth@gmail.com>

pkgname=geos
pkgver=3.3.8
pkgrel=1
pkgdesc="C++ port of the Java Topology Suite"
arch=('x86_64' 'i686')
url="http://trac.osgeo.org/geos/"
license=('LGPL')
depends=('gcc-libs' 'bash')
options=('!libtool' '!emptydirs')
changelog=$pkgname.changelog
source=(http://download.osgeo.org/$pkgname/$pkgname-$pkgver.tar.bz2)
sha256sums=('ebecd4d1a71bcc28e5e883296cd8c52a80d5596335e74728f320989734fa503b')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
}
